<div class="container member-container">
    <?php include $this->getViewFile('../lib/leftmenu'); ?>
    <div class="col-md-10 member-con mb-alwang-con">
        <div class="title mb-common-title">我的旺旺</div> 
        <?php if ($model) : ?>
            <div class="desc">您的账号已经绑定旺旺：<span>“<?php echo $model->taobao_user_nick; ?>”</span>，不能再绑定其它旺旺。</div>
        <?php else: ?>
            <div class="desc">旺旺号绑定后不能修改，报名时，一个账号只能报名该旺旺所属店铺的宝贝：</div>
            <?php
            $form = $this->beginWidget('CActiveForm', array(
                'id' => 'TB-form',
            ));
            ?>
            <?php echo $form->errorSummary($MembersTaobaoModel); ?>
            <div class="row">
                <?php echo CHtml::activeLabel($MembersTaobaoModel,'taobao_user_nick'); ?>
                <?php echo $form->textField($MembersTaobaoModel, 'taobao_user_nick'); ?>    
                <?php echo CHtml::submitButton('立即绑定', array('class' => "login-spt btn")); ?>
            </div>
            <?php $this->endWidget(); ?>
        <?php endif; ?>
    </div>
    <div class="clearfix"></div>
</div>